import scrapy

class ResearchReportItem(scrapy.Item):
    Title = scrapy.Field()
    Link = scrapy.Field()
    Author = scrapy.Field()
    Issuer = scrapy.Field()
    Content = scrapy.Field()
    DateTime = scrapy.Field()
    StdDateTime = scrapy.Field()
    RawCode = scrapy.Field()
    Symbol = scrapy.Field()
    Rating = scrapy.Field()
    Change = scrapy.Field()
    Type = scrapy.Field()
    Key = scrapy.Field()

class IndustryReportItem(scrapy.Item):
    Title = scrapy.Field()
    Link = scrapy.Field()
    Author = scrapy.Field()
    Issuer = scrapy.Field()
    Content = scrapy.Field()
    DateTime = scrapy.Field()
    StdDateTime = scrapy.Field()
    Symbol = scrapy.Field()
    Rating = scrapy.Field()
    Rating2 = scrapy.Field()
    Type = scrapy.Field()
    Industry = scrapy.Field()
    Change = scrapy.Field()
    Key = scrapy.Field()

class NoticeItem(scrapy.Item):
    Title = scrapy.Field()
    Symbol = scrapy.Field()
    Category = scrapy.Field()
    DateTime = scrapy.Field()
    StdDateTime = scrapy.Field()
    StdDateTime2 = scrapy.Field()
    Link = scrapy.Field()
    Brief = scrapy.Field()
    Content = scrapy.Field()
    FileLink = scrapy.Field()
    Type = scrapy.Field()
    Key = scrapy.Field()


class BlockTradeItem(scrapy.Item):
    Description = scrapy.Field()
    Symbol = scrapy.Field()
    DateTime = scrapy.Field()
    StdDateTime = scrapy.Field()
    Price = scrapy.Field()
    Volume = scrapy.Field()
    Money = scrapy.Field()
    BuySide = scrapy.Field()
    SellSide = scrapy.Field()
    Type = scrapy.Field()
    Exchange = scrapy.Field()
    List = scrapy.Field()
    IfZC = scrapy.Field()

# http://stock.eastmoney.com/a/201902121041916175.html
# 东财新闻
class NewsItem(scrapy.Item):
    Title = scrapy.Field()
    URL = scrapy.Field()
    Author = scrapy.Field()
    Source = scrapy.Field()
    Content = scrapy.Field()
    NewsType = scrapy.Field()
    DateTime = scrapy.Field()
    # StdDateTime = scrapy.Field()
    Created_Time = scrapy.Field()
    Modified_Time = scrapy.Field()
    Type = scrapy.Field()


